<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/templates/plantilla.xhtml">
	<ui:define name="body">
	<p:layout fullPage="true">

		<p:layoutUnit position="north" size="100"
			collapsible="true">
			<h:panelGrid columns="3">
				<h:outputText value="carta: " />
				<p:inputText />
				<p:commandButton  value="Buscar" icon="ui-icon-search" />
			</h:panelGrid>
		</p:layoutUnit>

		<p:layoutUnit position="west" size="200" 
			collapsible="true" effect="drop">
			<p:panel style="height:400px">
			<table style="position:absolute;"  >
				<tr valign="bottom">
					<td >
						<h:panelGrid columns="1">
							<p:commandButton value="Agregar" style="width:100%"/>
							<p:commandButton value="Eliminar" style="width:100%"/>
						</h:panelGrid>
					</td>
				</tr>
			</table>
			</p:panel>
		</p:layoutUnit>

		<p:layoutUnit position="center">
			<h:form id="formPrincipal">
				<ui:insert name="center"></ui:insert>
	        </h:form>
		</p:layoutUnit>
	</p:layout>
</ui:define>
</ui:composition>
</html>